
<?php  

$this->load->model('datam');
$weather = $this->datam->getWeatherData();

/*
<div id="prognnoza_dana" class="clearfix">
        <h3>ПРОГНОЗА ДАНА</h3>
        <ul class="najcitanije">
            <li class='clearfix'>
                <span id="vremenska_ikona">
                    <?=//$this->weather->img();?>
                    <?=$weather['img_full']?>
                </span>
                <span class="temparatura">
                    <span class="maximalna"><?=//$this->weather->tmax();?><?=$weather['tmax']?>°</span>
                    <span class="minimalna"><?=//$this->weather->tmin();?><?=$weather['tmin']?>°</span>
                </span>
                <span class="vlaznost">
                    rel. vlažnost:
                    <strong><?=//$this->weather->hmd();?><?=$weather['hmd']?>%</strong>
                    tlak zraka:
                    <strong><?=//$this->weather->pre();?><?=$weather['pre']?> hPa </strong> 
                </span> 
            </li>
        </ul>
    </div>
*/

?>

	<div id="prognnoza_dana" class="clearfix">
        <h3>ПРОГНОЗА ДАНА</h3>
        <ul class="najcitanije">
            <li class='clearfix'>
                <span id="vremenska_ikona">
                    <img src="<?=$url?>assets/images/weather/<?=$weather['img_name']?>" alt="" height="60px" />
                    
                </span>
                <span class="temparatura">
                    <span class="maximalna"><?=$weather['tmax']?>°</span>
                    <span class="minimalna"><?=$weather['tmin']?>°</span>
                </span>
                <span class="vlaznost">
                    Релативна влажност:
                    <strong><?=$weather['hmd']?>%</strong>
                    
                    Ваздушни притисак:
                    <strong><?=$weather['pre']?> hPa </strong> 
                </span> 
            </li>
        </ul>
    </div>